home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / tour.dxr / 00396.ls < prev    next >
Encoding:
Text File  |  2000-01-21  |  600 b   |  22 lines

  1. on exitFrame
  2.   global firstTime, notClicked, gMenuButton, gMenuExit, gPlaySound, gTourForwardArrow, gTourBackArrow, goQuick, gTiming, audioPath, gCurrLabel
  3.   if the frameLabel <> 0 then
  4.     gCurrLabel = the frameLabel
  5.   end if
  6.   if gPlaySound then
  7.     soundFile = getAudioFile(the frame)
  8.     sound playFile 1, audioPath & soundFile & ".AIF"
  9.     gPlaySound = 0
  10.   end if
  11.   if soundBusy(1) then
  12.     go(the frame)
  13.   else
  14.     gTiming = 1
  15.     go(the frame + 1)
  16.   end if
  17.   repeat with rc in [gMenuButton, gMenuExit, gTourForwardArrow, gTourBackArrow]
  18.     doRollover(rc)
  19.   end repeat
  20.   Interaction4411()
  21. end
  22.